//
//  WBNetAPIBusiness.h
//  WeiBo
//
//  Created by wbs on 17/2/10.
//  Copyright © 2017年 xiaomaolv. All rights reserved.
//

#import <Foundation/Foundation.h>

@class WBHomeStatusesParamter, WBHomeStatusesResult;
@class WBUserContentParamter, WBUserContentResult;
@class WBMyFunsParameter, WBMyFunsResult;
@class WBSendStatusParameter, WBSendStatusResult;
@class WBStatusCommentsParameter, WBStatusCommentsResult;

@interface WBNetAPIBusiness : NSObject

/// 0000 返回当前用户的个人信息
+ (NSURLSessionTask *)currentUserContent:(WBUserContentParamter *)paramter completion:(void(^)(WBUserContentResult *result, NSError *error))completion;

/// 0001 返回当前用户的最新的微博
+ (NSURLSessionTask *)homeStatuses:(WBHomeStatusesParamter *)paramter completion:(void(^)(WBHomeStatusesResult *result, NSError *error))completion;

/// 0002 返回当前用户的粉丝列表
+ (NSURLSessionTask *)myFuns:(WBMyFunsParameter *)paramter completion:(void(^)(WBMyFunsResult *result, NSError *error))completion;

/// 0003 发布一条新微博
+ (NSURLSessionTask *)sendStatus:(WBSendStatusParameter *)paramter completion:(void(^)(WBSendStatusResult *result, NSError *error))completion;

/// 0004 根据微博ID返回某条微博的评论列表
+ (NSURLSessionTask *)statusComments:(WBStatusCommentsParameter *)paramter completion:(void(^)(WBStatusCommentsResult *result, NSError *error))completion;


@end
